/*
 * Copyright © 2010 Siddhanathan S.
 *
 * This file is part of JTeacher.
 *
 * JTeacher is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation version 3 of the License, or
 * any later version.
 *
 * JTeacher is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with JTeacher.  If not, see <http://www.gnu.org/licenses/>.
 */

package jteacher;

import java.io.IOException;
import javax.swing.SwingUtilities;


/**
 * @author Siddhanathan S.
 * @version 28/11/2010
 */

public class Main {

    String v1 = "0";
    String v2 = "5";
    String version = v1 + "." + v2;

    public static void main(String args[]) {

	try {
	    new Console().setConsole();
	} catch (IOException e) {
	    System.out.println("IO Exception:" + e);
	}

	System.out.println("The terminal console running...");

        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
		new GUI().gui();
            }
        });
    }


}
